//
//  ViewController.m
//  下载进度案例
//
//  Created by hyl on 16/6/22.
//  Copyright © 2016年 hyl. All rights reserved.
//

#import "ViewController.h"
#import "HYLQuartz2DView.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet HYLQuartz2DView *progressView;

@property (weak, nonatomic) IBOutlet UILabel *progressLable;

@end

@implementation ViewController

- (IBAction)progressChange:(UISlider *)sender {
    //NSLog(@"%f",sender.value);
    self.progressView.endValue=sender.value;
    self.progressLable.text=[NSString stringWithFormat:@"%.2f%%",sender.value*100];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
